<!DOCTYPE html>
<html>
    <head>
      <title>Issue 5449: Show infotips in Computed side panel</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <link href="../../../_common/testcase.css" type="text/css" rel="stylesheet"/>
      <style type="text/css">
      #element {
          width: 100px;
          height: 100px;
          background-image: url(firebug.png);
          background-repeat: no-repeat;
          background-color: #8C8CFF;
          font-family: Arial,Helvetica,sans-serif;
          text-align: center;
          vertical-align: middle;
          line-height: 100px;
      }

      #element {
          background-image: -moz-linear-gradient(135deg, #788CFF, #B4C8FF)
      }
      </style>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=5449">Issue 5449</a>: Show infotips in Computed side panel</h1>
        </header>
        <div>
            <section id="content">
                <div id="element">Text</div>
            </section>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Switch to the <em>HTML</em> panel and there to the <em>Computed</em> side panel</li>
                    <li>Inspect the blue <code>&lt;div&gt;</code> with the Firebug icon above (<code>#element</code>)</li>
                    <li>
                        Hover the first font inside of the <code>font-family</code> property<br/>
                        <span class="ok">&rArr; An infotip with a sample of the font should be shown</span>
                    </li>
                    <li>
                        Hover the value of the <code>background-color</code> property (<code>rgb(140,​ 140,​ 255)</code>)<br/>
                        <span class="ok">&rArr; An infotip with a sample of the color should be shown</span>
                    </li>
                    <li>
                        Click the twisty at the <code>background-image</code> property<br/>
                        <span class="ok">
                            &rArr; The property tree should get expanded and show two style definitions:
                            <code>
#element  -moz-linear-gradient(135deg,​ #788CFF,​ #B4C8FF)  issue5449.html (line 20)
#element  url("firebug.png")  issue5449.html (line 8)
                            </code>
                        </span>
                    </li>
                    <li>
                        Hover the <code>-moz-linear-gradient</code> part of the first <code>#element</code> style<br/>
                        <span class="ok">&rArr; An infotip with a preview of the color gradient should be shown</span>
                    </li>
                    <li>
                        Hover the <code>url()</code> of the second <code>#element</code> style<br/>
                        <span class="ok">&rArr; An infotip with a preview of the image should be shown</span>
                    </li>
                </ol>
                <h3>Expected Result</h3>
                <ul>
                    <li>Infotips should be shown for fonts, colors, images and color gradients.</li>
                </ul>
            </section>
            <footer>
                Sebastian Zartner, sebastianzartner@gmail.com
            </footer>
        </div>
    </body>
</html>